#ifndef THEMEWINDOW_H
#define THEMEWINDOW_H

#include <QWidget>
#include <QVector>
#include "themeitem.h"
#include "thememanager.h"

namespace Ui {
class ThemeWindow;
}

class ThemeWindow : public QWidget
{
    Q_OBJECT

public:
    explicit ThemeWindow(QWidget *parent = nullptr);
    ~ThemeWindow();

    void paintEvent(QPaintEvent *event) override;

    void loadThemes();

signals:
    void changeTheme(Theme theme);

private:
    Ui::ThemeWindow *ui;

    QVector<ThemeItem*> themeItems;
};

#endif // THEMEWINDOW_H
